home *** CD-ROM | disk | FTP | other *** search
-
-
-
- LINK(3) MINTLIB LIBRARY FUNCTIONS LINK(3)
-
-
- N✓NA✓AM✓ME✓E
- link - link to a file
-
- S✓SY✓YN✓NO✓OP✓PS✓SI✓IS✓S
- #include <support.h>
-
- int link(const char *old, const char *new);
-
- D✓DE✓ES✓SC✓CR✓RI✓IP✓PT✓TI✓IO✓ON✓N
- old points to a path name naming an existing file. new
- points to a path name naming the new directory entry to be
- created. link creates a new hardlink (directory entry) for
- the existing file.
-
- R✓RE✓ET✓TU✓UR✓RN✓N V✓VA✓AL✓LU✓UE✓ES✓S
- 0 on success -1 on failure; errno is set to indicate the
- error.
-
- S✓SE✓EE✓E A✓AL✓LS✓SO✓O
- r✓re✓ea✓ad✓dl✓li✓in✓nk✓k(✓(3✓3)✓),✓, s✓sy✓ym✓ml✓li✓in✓nk✓k(✓(3✓3)✓),✓, u✓un✓nl✓li✓in✓nk✓k(✓(3✓3)✓),✓, F✓Fl✓li✓in✓nk✓k(✓(2✓2)✓)
-
- N✓NO✓OT✓TE✓E
- link will only fuction properly if MiNT 0.9 or later is
- active and the file system supports hardlinks. MS-DOS
- (TOS) file systems do not support hardlinks.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- MiNT docs 0.1 3 March 1993 1
-
-
-